extends CharacterBody2D

signal Bullet_dismiss

var _SD = 100
var _JD = 30

func addFX(JD:float):
	_JD = JD
	print("发射角度",_JD)
	#Vector2(100,100).move_toward()
	#move_and_slide()
	apply_floor_snap()

#
#func _process(delta: float) -> void:
	#move

func da_zhong():
	print("打到了,完成任务了")
	hide()
	queue_free()

#解除到了
func _on_collision_shape_2d_child_entered_tree(node: Node) -> void:
	da_zhong()
	#发出打中信号
	Bullet_dismiss.emit()
